home *** CD-ROM | disk | FTP | other *** search
- listscript = off;
- #############################################################################
- # #
- # U S E R S E T U P F I L E #
- # #
- # This is the user setup file. It is read in whenever the program is reset #
- # or if the 'Reload Setup File' menu item is chosen. Any commands used by #
- # the NuGraf Scripting Langauge is acceptable in this setup script file. #
- # #
- #############################################################################
-
- # ---------------------------------------------------------------------------
- #
- # The following formats can be used whenever a color value is required:
- #
- # ( rgb, r, g, b ) where r,g,b are values in the range 0.0 to 1.0
- # ( rgb2, r, g, b ) where r,g,b are integer values in the range 0 to 255
- # ( hsv, h, s, v ) where: h = hue (0.0 to 360.0)
- # s = saturation (0.0 to 1.0)
- # v = lightness (0.0 to 1.0)
- #
- # ---------------------------------------------------------------------------
- #
- # The following example formats and arithmetic operators can be used wherever
- # a numeric value is required (arithmetic operators can be nested as well):
- #
- # option ( resolution = (640, 480));
- # option ( resolution = (640, (400 + 80)));
- # option ( resolution = (640, (-400 + 880)));
- # option ( resolution = (640, (240 * 2)));
- # option ( resolution = (640, (960 / 2)));
- #
- # ---------------------------------------------------------------------------
-
- # ----------------->>>> Default Render Output Driver <<<<------------------
-
- # Comment out one of the following "comment;" command pairs to enable one
- # of the following default output device drivers (more are available - see manual)
-
- #
- # Microsoft Windows output driver options (default at start up)
- #
- #comment;
- outputdriver "driver1" ( # The device handle name
- framebuffer = mswindows, # The device driver name
- displaygamma=1.8, # RGB monitor gamma correction
- imagequantize (enabled=on,numcolors=236), # Turn on image quantization
- dither=on # Turn on ordered dithering
- );
- #comment;
-
- #
- # The following example shows how to install the GIF output driver
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (gif, "filename.gif"), # The device driver name
- displaygamma=1.0, # RGB gamma correction
- imagequantize (enabled=on,numcolors=256) # Turn on image quantization
- );
- comment;
-
- #
- # This example shows how to output an 8-bit colormapped GIF-89a file with
- # 256 dithered colors and an image description string.
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (gif, "filename.gif"), # The device driver name
- displaygamma=1.0, # RGB gamma correction
- dither=on, # Turn on ordered dithering
- optionstring = "gif89a=on",
- optionstring = "imagedescription=Image created with NuGraf"
- );
- comment;
-
- #
- # The following example shows how to install the TIFF driver and set its
- # parameters to output a 24-bit image with a gamma value of 1.0 (the default
- # value for disk images).
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (tiff, "filename.tif"), # The device driver name
- displaygamma=1.0, # Output gamma correction
- mode = mode_rgb # Choose the 24-bit RGB output mode
- );
- comment;
-
- #
- # This example shows how to output a 32-bit TIFF file (24-bits of RGB
- # data and 8-bits of alpha channel).
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (tiff, "filename.tif"), # The device driver name
- displaygamma=1.0, # Output gamma correction
- mode = mode_rgba # Choose the 32-bit RGB output mode
- );
- comment;
-
- #
- # This example shows how to output an 8-bit colormapped TIFF file with 256
- # colors that were quantized down using the Wu quantization algorithm.
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (tiff, "filename.tif"), # The device driver name
- displaygamma=1.0, # RGB gamma correction
- imagequantize (enabled=on,numcolors=256), # Turn on image quantization
- mode = mode_rgb, # Choose the RGB output mode
- optionstring = "colormaplength=256"
- );
- comment;
-
- #
- # This example shows how to output an 8-bit colormapped TIFF file
- # with 256 dithered colors:
- #
- comment;
- outputdriver "driver1" ( # The device handle name
- file = (tiff, "filename.tif"), # The device driver name
- displaygamma=1.0, # RGB gamma correction
- imagequantize (enabled=off,numcolors=-1), # Turn off image quantization
- mode = mode_rgb, # Choose the RGB output mode
- dither=on, # Turn on ordered dithering
- optionstring = "colormaplength=256"
- );
- comment;
-
-
- # ----------------------->>>> Runtime Options <<<<------------------------
-
- # When 'on', bump mapping will be enabled
- option ( bumpmapping = on );
-
- # When 'on', view volume clipping will be enabled for wireframe output
- option ( clipping = off );
-
- # When 'on', automatic planar and cubical reflection map creation
- # will first be confirmed by the user
- option ( confirm ( autoreflectmaps = on ));
-
- # When 'on', all writes to existing files will first be confirmed
- option ( confirm ( overwrites = on ));
-
- # When 'on', shadow map creation will first be confirmed by the user
- option ( confirm ( shadowmaps = on ));
-
- # When 'on', shadows will be enabled
- option ( shadows = on );
-
- # When 'on', transparency will be enabled
- option ( transparency = on );
-
- # Geometry culling mode: off, back, front
- option ( culling = off );
-
- # Field rendering mode: off, upper, lower
- option ( field = off );
-
- # Rendering level: wireframe, hiddenras, zscanline
- option ( renderlevel = zscanline );
-
- # Image resolution
- option ( resolution = ( 480, 360 ));
-
- # Global shading level: off, flat, gouraud, smooth
- option ( shading = smooth );
-
- # -------------------->>>> Texture Runtime Options <<<<---------------------
-
- # Global texturing enable (turning this off will disable all texture definitions)
- option ( texture ( enabled = on ));
-
- # Set to 'on' to compress MIPmap files when they are written to disk
- option ( texture ( compressmipmap = off ));
-
- # When 'on', all texture images will be preloaded before rendering starts
- option ( texture ( preload = off ));
-
- # When 'on', MIPmap pyramid files will be saved to disk (not really necessary)
- option ( texture ( savemipmap = off ));
-
- # Global texture filtering override: disabled, none, bilinear, mipmap
- option ( texture ( filteroverride = disabled ));
-
- # ------------------>>>> Default Background Colour <<<<-------------------
-
- # Default background color
- background (color = (rgb, 0, 0, 0));
-
- # ---------------------->>>> File Search Paths <<<<-----------------------
-
- # NOTE: The file search paths are now stored in the main .ini file of this
- # program rather than in this setup.win file.
-
- # ---------------------------------------------------------------------------
-
- listscript = on;
- # Welcome to the NuGraf Scripting Language
- #
- # Notes: 1) Any errors reported in this window are logged in file 'errors.log'
- # 2) The setup file was loaded from the 'runtime\setup.win' file
- # 3) Press the 'F2' key to raise this command window to the top
- # 4) Edit commands: ^P=previous,^N=next, etc. (see online help)